package inst.ejb.utilities;

import java.io.Serializable;
import java.util.List;

/**
 * @author xu
 */
public class PagedResults<T> implements Serializable{
	/**
	 * 
	 */
	private static final Long serialVersionUID = 1L;
	/**
	 * @uml.property name="resultList"
	 */
	private List<T> resultList;
	// private Integer recordCount;

	/**
	 * @uml.property name="pageInfo"
	 * @uml.associationEnd
	 */
	private PageInfo pageInfo;

	/**
	 * 
	 */
	private Object[] cntRes;

	/**
	 * @return
	 * @uml.property name="resultList"
	 */
	public List<T> getResultList() {
		return resultList;
	}

	/**
	 * @param resultList
	 * @uml.property name="resultList"
	 */
	public void setResultList(List<T> resultList) {
		this.resultList = resultList;
	}

	// public Integer getRecordCount() {
	// return recordCount;
	// }
	//
	// public void setRecordCount(Integer recordCount) {
	// this.recordCount = recordCount;
	// }

	/**
	 * @return
	 * @uml.property name="pageInfo"
	 */
	public PageInfo getPageInfo() {
		return pageInfo;
	}

	/**
	 * @param pageInfo
	 * @uml.property name="pageInfo"
	 */
	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public Object[] getCntRes() {
		return cntRes;
	}

	public void setCntRes(Object[] cntRes) {
		this.cntRes = cntRes;
	}

}
